package com.mega32k.mevila.item.tool;

import com.google.gson.JsonObject;
import com.mega32k.mevila.tab.MevilaToolTab;
import com.mega32k.mevila.util.ItemInit;
import com.mega32k.mevila.util.MevilaTier;
import net.minecraft.client.resources.I18n;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.PickaxeItem;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.StringTextComponent;

public class MevilaPickaxeItem extends PickaxeItem {
    public MevilaPickaxeItem() {
        super(MevilaTier.MEVILA_TIER, 2, -2.8F, new Item.Properties()
                .group(MevilaToolTab.mevilaToolTab)
                .isImmuneToFire()
                .rarity(ItemInit.RMEVILA)
        );
    }
    @Override
    public ITextComponent getDisplayName(ItemStack p_200295_1_) {
        return new StringTextComponent(I18n.format("item.mevila.mevilaPickaxe"));
    }
}
